package service

import (
	"github.com/quarkcloudio/quark-go/v2/pkg/builder"
	CaptchaPlugins "github.com/wsl/hi-go/plugins/captcha"
)

type Captcha struct{}

// 获取图形验证码
func (p *Captcha) GetCaptcha(c *builder.Context) error {
	return c.JSONOk("已处理", (&CaptchaPlugins.Captcha{}).CreateCaptcha())
}
